﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Matthew
{
    public class Order
    {
        private string orderID, date, buyerID, notes, specialInstructions;
        private List<OrderDetail> orderDetails = new List<OrderDetail>();

        public string OrderID
        {
            get { return orderID; }
            set { orderID = value; }
        }

        public string Date
        {
            get { return date; }
            set { date = value; }
        }

        public string BuyerID
        {
            get { return buyerID; }
            set { buyerID = value; }
        }

        // this field is only used when viewing XML file
        // it is, however, not stored in DB
        public string Notes
        {
            get { return notes; }
            set { notes = value; }
        }

        public string SpecialInstructions
        {
            get { return specialInstructions; }
            set { specialInstructions = value; }
        }

        public List<OrderDetail> OrderDetails
        {
            get { return orderDetails; }
            set { orderDetails = value; }
        }
    }
}
